/**
 * 
 */
package view;

import javax.swing.JInternalFrame;
import javax.swing.JOptionPane;

/**
 * @author ezuera
 *
 */
public class NewWindow extends JInternalFrame{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String errormsg;
	
	public NewWindow() {}
	
	public void showProjektFehler(String errormsg) {
		JOptionPane.showMessageDialog(this, errormsg, "Fehler", JOptionPane.ERROR_MESSAGE);
	}
	
	public void showInformation(String info) {
		
		
	}
		
	public String getErrormsg() {
		return errormsg;
	}

	public void setErrormsg(String errormsg) {
		this.errormsg = errormsg;
	}

	
}
